package com.gepengjun.lims.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jun
 * @since 2018-09-15
 */
@TableName("upload_file")
public class UploadFile extends Model<UploadFile> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "upload_file_id", type = IdType.AUTO)
    private Long uploadFileId;
    @TableField("module_Name")
    private String moduleName;
    @TableField("file_Name")
    private String fileName;
    @TableField("file_Save_Name")
    private String fileSaveName;
    @TableField("file_path")
    private String filePath;
    @TableField("upload_user_id")
    private Long uploadUserId;
    private Date uploadTime;


    public Long getUploadFileId() {
        return uploadFileId;
    }

    public UploadFile setUploadFileId(Long uploadFileId) {
        this.uploadFileId = uploadFileId;
        return this;
    }

    public String getModuleName() {
        return moduleName;
    }

    public UploadFile setModuleName(String moduleName) {
        this.moduleName = moduleName;
        return this;
    }

    public String getFileName() {
        return fileName;
    }

    public UploadFile setFileName(String fileName) {
        this.fileName = fileName;
        return this;
    }

    public String getFileSaveName() {
        return fileSaveName;
    }

    public UploadFile setFileSaveName(String fileSaveName) {
        this.fileSaveName = fileSaveName;
        return this;
    }

    public String getFilePath() {
        return filePath;
    }

    public UploadFile setFilePath(String filePath) {
        this.filePath = filePath;
        return this;
    }

    public Long getUploadUserId() {
        return uploadUserId;
    }

    public UploadFile setUploadUserId(Long uploadUserId) {
        this.uploadUserId = uploadUserId;
        return this;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public UploadFile setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.uploadFileId;
    }

    @Override
    public String toString() {
        return "UploadFile{" +
        "uploadFileId=" + uploadFileId +
        ", moduleName=" + moduleName +
        ", fileName=" + fileName +
        ", fileSaveName=" + fileSaveName +
        ", filePath=" + filePath +
        ", uploadUserId=" + uploadUserId +
        ", uploadTime=" + uploadTime +
        "}";
    }
}
